package com.wanghua.mall.order.enums;

/**
 * 支付方式【1->支付宝；2->微信；3->银联； 4->货到付款；】
 *
 * @author wanghua
 * @create 2021-09-08 18:40
 */
public enum OrderPayTypeEnum {
    ALI_PAY(1, "支付宝"),
    WE_CHAT_PAY(2, "微信"),
    UNION_PAY(3,"银联"),
    CASH_ON_DELIVERY(4,"货到付款");

    private Integer code;
    private String message;

    OrderPayTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
